<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入css -->
    <link rel="stylesheet" href="../assets/lib/toastr/toastr.min.css">
</head>
<body>
    <!-- 引入jquery -->
    <script src="../assets/lib/jquery-3.6.0.min.js"></script>
    <!-- 引入js -->
    <script src="../assets/lib/toastr/toastr.min.js"></script>
    <!-- 使用 -->
    <script>
        toastr.info('你好')
        toastr.success('你好')
        toastr.warning('你好')
        toastr.error('你好')
    </script>
</body>
</html>